package com.jiyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.mapper.SafetyAssessMapper;
import com.jiyun.pojo.SafetyAssess;
import com.jiyun.service.SafetyAssessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SafetyAssessServiceImpl extends ServiceImpl<SafetyAssessMapper, SafetyAssess> implements SafetyAssessService {

    @Autowired
    private SafetyAssessMapper safetyAssessMapper;

    @Override
    public List<SafetyAssess> findStatus(Integer status) {
        return safetyAssessMapper.findStatus(status);
    }
}
